#include "prototype.h"
#include <iostream>

using namespace std;

Prototype::Prototype(){
}

Prototype::Prototype(string id){
	this->_id = id;
}

Prototype::~Prototype(){
}

string Prototype::Id(){
	return this->_id;
}

/*Prototype* Prototype::Clone() const{
	return 0;
}*/

ConcretePrototype1::ConcretePrototype1(){
}

ConcretePrototype1::ConcretePrototype1(std::string id){
	this->_id = id;
}

ConcretePrototype1::~ConcretePrototype1(){
}

ConcretePrototype1::ConcretePrototype1(const ConcretePrototype1& cp){
	this->_id = cp._id;
}

Prototype* ConcretePrototype1::Clone() const{
	return new ConcretePrototype1(*this);
}